package com.powersystem.demo.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.powersystem.demo.entity.PsUser;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author linrongji
 * @since 2019-11-14
 */
public interface IPsUserService extends IService<PsUser> {
    public int fetchUserRole(String openId);
    public List<PsUser> selectByRoleId(int roleId);
    public List<PsUser> selectByuserNameAndUserStatus(String username,int userstatus);

}
